package com.ywm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;


@ApiModel(value="Type对象", description="")
@TableName("type")
@Data
@ToString
public class Type implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "分类id")
    @TableId(value = "type_id", type = IdType.ASSIGN_UUID)
    private String typeId;

    @ApiModelProperty(value = "分类名称")
    private String typeName;

    @ApiModelProperty(value = "帖子数")
    private Integer typeBlogCount;

    @ApiModelProperty(value = "是否启用，0否1是")
    private Integer enable;

    @ApiModelProperty(value = "是否删除，0否1是")
    @TableLogic
    private Integer isDeleted;
}
